<?php
	include('config.php');
	new Config();
	include('plan.php');
	$req = new Plan;
	$req->setSID($_GET['sid']);
	$req->setYear($_GET['year']);
	$req->setTerm($_GET['term']);
	echo $req->findOnePlan();
?>